﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" xmlns:Telerik_Windows_Controls_Chromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls" xmlns:System="clr-namespace:System;assembly=mscorlib">
    
    <SolidColorBrush x:Key="ControlOuterBorder_Normal" Color="#FF848484"/>
    
    <LinearGradientBrush x:Key="ControlBackground_Normal" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#404004" Offset="0"/>
        <GradientStop Color="#406604" Offset="0.50"/>
        <GradientStop Color="#406604" Offset="0.50"/>
        <GradientStop Color="#404004" Offset="1"/>
    </LinearGradientBrush>
    
    <SolidColorBrush x:Key="ControlForeground_Normal" Color="#FF000000"/>
	
    <CornerRadius x:Key="ControlOuterBorder_CornerRadius">1</CornerRadius>
	
    <Controls:Office_BlackTheme x:Key="Theme"/>
	
    <CornerRadius x:Key="SplitButton_SpanCornerRadius">1</CornerRadius>
	
    <SolidColorBrush x:Key="ControlInnerBorder_Normal" Color="#FFFFFFFF"/>
	
    <System:Double x:Key="ControlOuterBorderGradientStop0">0</System:Double>
    <System:Double x:Key="ControlOuterBorderGradientStop1">1</System:Double>
	
    <System:Double x:Key="ControlBackgroundGradientStop0">0</System:Double>
    <System:Double x:Key="ControlBackgroundGradientStop1">0.5</System:Double>
    <System:Double x:Key="ControlBackgroundGradientStop2">0.5</System:Double>
    <System:Double x:Key="ControlBackgroundGradientStop3">1</System:Double>
	
    <System:Double x:Key="ControlInnerBorderGradientStop0">0</System:Double>
    <System:Double x:Key="ControlInnerBorderGradientStop1">0.169</System:Double>

    <SolidColorBrush x:Key="ControlOuterBorder_Focused" Color="Transparent"/>
    <SolidColorBrush x:Key="ControlBackground_Focused" Color="Transparent"/>
    <SolidColorBrush x:Key="ControlInnerBorder_Focused" Color="Transparent"/>

    <Color x:Key="ControlOuterBorder_Active_Stop0">#406604</Color>
    <Color x:Key="ControlOuterBorder_Active_Stop1">#404040</Color>
    <Color x:Key="ControlInnerBorder_Active_Stop0">#406604</Color>
    <Color x:Key="ControlInnerBorder_Active_Stop1">#404040</Color>

    <Color x:Key="ControlBackground_Active_Stop0">#404040</Color>
    <Color x:Key="ControlBackground_Active_Stop1">#406604</Color>
    <Color x:Key="ControlBackground_Active_Stop2">#406604</Color>
    <Color x:Key="ControlBackground_Active_Stop3">#404040</Color>

    <Color x:Key="ControlOuterBorder_MouseOver_Stop0">#104080</Color>
    <Color x:Key="ControlOuterBorder_MouseOver_Stop1">#184080</Color>
    <Color x:Key="ControlInnerBorder_MouseOver_Stop0">#184080</Color>
    <Color x:Key="ControlInnerBorder_MouseOver_Stop1">#104080</Color>

    <Color x:Key="ControlBackground_MouseOver_Stop0">#104080</Color>
    <Color x:Key="ControlBackground_MouseOver_Stop1">#184080</Color>
    <Color x:Key="ControlBackground_MouseOver_Stop2">#184080</Color>
    <Color x:Key="ControlBackground_MouseOver_Stop3">#104080</Color>

    <SolidColorBrush x:Key="ControlOuterBorder_Highlighted" Color="#404040"/>
    <SolidColorBrush x:Key="ControlInnerBorder_Highlighted" Color="#404040"/>
    
    <LinearGradientBrush x:Key="ControlBackground_Highlighted" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#404040" Offset="0"/>
        <GradientStop Color="#404040" Offset="1"/>
    </LinearGradientBrush>

    <SolidColorBrush x:Key="ControlOuterBorder_Selected" Color="#404040"/>
    <SolidColorBrush x:Key="ControlInnerBorder_Selected" Color="#404040"/>
    <LinearGradientBrush x:Key="ControlBackground_Selected" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#404040" Offset="1"/>
        <GradientStop Color="#404040"/>
    </LinearGradientBrush>
    <Color x:Key="ControlOuterBorder_Checked_Stop0">#406604</Color>
    <Color x:Key="ControlOuterBorder_Checked_Stop1">#404040</Color>

    <Color x:Key="ControlInnerBorder_Checked_Stop0">#406604</Color>
    <Color x:Key="ControlInnerBorder_Checked_Stop1">#404040</Color>

    <Color x:Key="ControlBackground_Checked_Stop0">#404040</Color>
    <Color x:Key="ControlBackground_Checked_Stop1">#406604</Color>
    <Color x:Key="ControlBackground_Checked_Stop2">#406604</Color>
    <Color x:Key="ControlBackground_Checked_Stop3">#404040</Color>
	
    <LinearGradientBrush x:Key="ControlOuterBorder_DisabledChecked" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FF282828"/>
        <GradientStop Color="#FF5F5F5F" Offset="1"/>
    </LinearGradientBrush>
	
    <LinearGradientBrush x:Key="ControlInnerBorder_DisabledChecked" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop Color="#FFB69A78"/>
        <GradientStop Color="#FFFFE17A" Offset="0.125"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Key="ControlBackground_DisabledChecked" Color="#FFE0E0E0"/>

    <Color x:Key="ControlOuterBorder_MouseOverChecked_Stop0">#406604</Color>
    <Color x:Key="ControlOuterBorder_MouseOverChecked_Stop1">#404040</Color>

    <Color x:Key="ControlInnerBorder_MouseOverChecked_Stop0">#406604</Color>
    <Color x:Key="ControlInnerBorder_MouseOverChecked_Stop1">#404040</Color>

    <Color x:Key="ControlBackground_MouseOverChecked_Stop0">#404040</Color>
    <Color x:Key="ControlBackground_MouseOverChecked_Stop1">#406604</Color>
    <Color x:Key="ControlBackground_MouseOverChecked_Stop2">#406604</Color>
    <Color x:Key="ControlBackground_MouseOverChecked_Stop3">#404040</Color>

    <Color x:Key="ControlOuterBorder_Pressed_Stop0">#406604</Color>
    <Color x:Key="ControlOuterBorder_Pressed_Stop1">#404040</Color>

    <Color x:Key="ControlInnerBorder_Pressed_Stop0">#406604</Color>
    <Color x:Key="ControlInnerBorder_Pressed_Stop1">#404040</Color>

    <Color x:Key="ControlBackground_Pressed_Stop0">#404040</Color>
    <Color x:Key="ControlBackground_Pressed_Stop1">#406604</Color>
    <Color x:Key="ControlBackground_Pressed_Stop2">#406604</Color>
    <Color x:Key="ControlBackground_Pressed_Stop3">#404040</Color>
	
    <SolidColorBrush x:Key="ControlOuterBorder_Disabled" Color="#FF989898"/>
    <SolidColorBrush x:Key="ControlInnerBorder_Disabled" Color="Transparent"/>
    <SolidColorBrush x:Key="ControlBackground_Disabled" Color="#FFE0E0E0"/>

    <Color x:Key="ControlOuterBorder_Normal_Stop0">#406604</Color>
    <Color x:Key="ControlOuterBorder_Normal_Stop1">#404040</Color>

    <Color x:Key="ControlInnerBorder_Normal_Stop0">#406604</Color>
    <Color x:Key="ControlInnerBorder_Normal_Stop1">#404040</Color>

    <Color x:Key="ControlBackground_Normal_Stop0">#404040</Color>
    <Color x:Key="ControlBackground_Normal_Stop1">#406604</Color>
    <Color x:Key="ControlBackground_Normal_Stop2">#406604</Color>
    <Color x:Key="ControlBackground_Normal_Stop3">#404040</Color>
	
    <Style x:Key="ButtonChromeStyle1" TargetType="Telerik_Windows_Controls_Chromes:ButtonChrome">
        <Setter Property="IsTabStop" Value="False"/>
        <Setter Property="Background" Value="{StaticResource ControlBackground_Normal}"/>
        <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder_Normal}"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="CornerRadius" Value="{StaticResource SplitButton_SpanCornerRadius}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Telerik_Windows_Controls_Chromes:ButtonChrome">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStatesGroup">
                                <VisualStateGroup.Transitions>
                                    <VisualTransition From="MouseOver" GeneratedDuration="00:00:00.015" To="None"/>
                                    <VisualTransition From="Active" GeneratedDuration="00:00:00.015" To="None"/>
                                </VisualStateGroup.Transitions>
                                
                                <VisualState x:Name="None">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="OuterBorder">
                                            <LinearDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <LinearDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlOuterBorder_Active_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlOuterBorder_Active_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlInnerBorder_Active_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlInnerBorder_Active_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlBackground_Active_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlBackground_Active_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlBackground_Active_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0" Value="{StaticResource ControlBackground_Active_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                
                                <VisualState x:Name="Normal">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                                
                                <VisualState x:Name="Active">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Highlighted">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_Highlighted}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="InnerBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Highlighted}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="Background" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_Highlighted}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Selected">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_Selected}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="InnerBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Selected}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="Background" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_Selected}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Checked">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Checked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Checked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Checked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Checked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Checked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Checked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Checked_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Checked_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="DisabledChecked">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_DisabledChecked}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="InnerBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_DisabledChecked}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="Background" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_DisabledChecked}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="MouseOverChecked">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="Opacity" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame
                                                KeyTime="0:0:00.015"
                                                Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        
                                        <DoubleAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="Opacity"
                                            Storyboard.TargetName="CommonStatesWrapper">
                                            <DiscreteDoubleKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlOuterBorder_MouseOverChecked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlOuterBorder_MouseOverChecked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlInnerBorder_MouseOverChecked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlInnerBorder_MouseOverChecked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOverChecked_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOverChecked_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOverChecked_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOverChecked_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="MouseOver">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CommonStatesWrapper">
                                            <DiscreteDoubleKeyFrame KeyTime="00:00:00.015" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlOuterBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlOuterBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlInnerBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlInnerBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame 
                                                KeyTime="00:00:00.015" 
                                                Value="{StaticResource ControlBackground_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)"
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        
                                        <ColorAnimationUsingKeyFrames 
                                            Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" 
                                            Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Pressed">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CommonStatesWrapper">
                                            <DiscreteDoubleKeyFrame KeyTime="00:00:00.015" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="InnerBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="Background" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="NoneVertical">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="OuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="Transparent"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="NormalVertical">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlOuterBorder_Normal_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlOuterBorder_Normal_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlInnerBorder_Normal_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlInnerBorder_Normal_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlBackground_Normal_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlBackground_Normal_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlBackground_Normal_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.0150" Value="{StaticResource ControlBackground_Normal_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="MouseOverVertical">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CommonStatesWrapper">
                                            <DiscreteDoubleKeyFrame KeyTime="00:00:00.015" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_MouseOver_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="PressedVertical">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="CommonStatesWrapper">
                                            <DiscreteDoubleKeyFrame KeyTime="00:00:00.015" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlOuterBorder_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlInnerBorder_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop0}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop1}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[2].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop2}"/>
                                        </ColorAnimationUsingKeyFrames>
                                        <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.GradientStops)[3].(GradientStop.Color)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <SplineColorKeyFrame KeyTime="00:00:00.015" Value="{StaticResource ControlBackground_Pressed_Stop3}"/>
                                        </ColorAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="DisabledVertical">
                                    <Storyboard>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonOuterBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <PointAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.EndPoint)" Storyboard.TargetName="AnimatedCommonInnerBorder">
                                            <DiscretePointKeyFrame KeyTime="0:0:0" Value="1,0"/>
                                        </PointAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlOuterBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="BorderBrush" Storyboard.TargetName="InnerBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                        <ObjectAnimationUsingKeyFrames Duration="0:0:0" Storyboard.TargetProperty="Background" Storyboard.TargetName="OuterBorder">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlBackground_Disabled}"/>
                                        </ObjectAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
							
                            <VisualStateGroup x:Name="FocusStatesGroup">
                                <VisualState x:Name="Unfocused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisual">
                                            <DiscreteObjectKeyFrame KeyTime="00:00:00.015">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Collapsed</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual">
                                            <LinearDoubleKeyFrame KeyTime="00:00:00.015" Value="0"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
								
                                <VisualState x:Name="Focused">
                                    <Storyboard>
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisual">
                                            <DiscreteObjectKeyFrame KeyTime="0:0:0">
                                                <DiscreteObjectKeyFrame.Value>
                                                    <Visibility>Visible</Visibility>
                                                </DiscreteObjectKeyFrame.Value>
                                            </DiscreteObjectKeyFrame>
                                        </ObjectAnimationUsingKeyFrames>
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="FocusVisual">
                                            <LinearDoubleKeyFrame KeyTime="00:00:00.015" Value="1"/>
                                        </DoubleAnimationUsingKeyFrames>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
						
                        <Border 
							x:Name="OuterBorder" BorderBrush="{TemplateBinding BorderBrush}" 
							BorderThickness="{TemplateBinding BorderThickness}" 
							Background="{TemplateBinding Background}" 
							CornerRadius="{TemplateBinding CornerRadius}">
                            <Border 
								x:Name="InnerBorder" BorderBrush="{StaticResource ControlInnerBorder_Normal}" 
								BorderThickness="{TemplateBinding BorderThickness}" 
								CornerRadius="{TemplateBinding InnerCornerRadius}"/>
                        </Border>
						
                        <Border 
							x:Name="AnimatedCommonOuterBorder" 
							BorderThickness="{TemplateBinding BorderThickness}"
							CornerRadius="{TemplateBinding CornerRadius}">
                            <Border.BorderBrush>
                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                    <GradientStop Color="#FF848484" Offset="{StaticResource ControlOuterBorderGradientStop0}"/>
                                    <GradientStop Color="#FF848484" Offset="{StaticResource ControlOuterBorderGradientStop1}"/>
                                </LinearGradientBrush>
                            </Border.BorderBrush>
                            <Border.Background>
                                <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                    <GradientStop Color="#FFFFFFFF" Offset="{StaticResource ControlBackgroundGradientStop0}"/>
                                    <GradientStop Color="#FFDCDCDC" Offset="{StaticResource ControlBackgroundGradientStop1}"/>
                                    <GradientStop Color="#FFADADAD" Offset="{StaticResource ControlBackgroundGradientStop2}"/>
                                    <GradientStop Color="#FFD4D4D4" Offset="{StaticResource ControlBackgroundGradientStop3}"/>
                                </LinearGradientBrush>
                            </Border.Background>
							
                            <Border 
								x:Name="AnimatedCommonInnerBorder" BorderThickness="{TemplateBinding BorderThickness}" 
								CornerRadius="{TemplateBinding InnerCornerRadius}">
                                <Border.BorderBrush>
                                    <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                        <GradientStop Color="#FFFFFFFF" Offset="{StaticResource ControlInnerBorderGradientStop0}"/>
                                        <GradientStop Color="#FFFFFFFF" Offset="{StaticResource ControlInnerBorderGradientStop1}"/>
                                    </LinearGradientBrush>
                                </Border.BorderBrush>
                            </Border>
                        </Border>
                        <Border x:Name="CommonStatesWrapper">
                            <Border 
								x:Name="FocusVisual" BorderBrush="{StaticResource ControlOuterBorder_Focused}" 
								BorderThickness="{TemplateBinding BorderThickness}" 
								Background="{StaticResource ControlBackground_Focused}"
								CornerRadius="{TemplateBinding CornerRadius}" Opacity="0" Visibility="Collapsed">
                                <Border x:Name="FocusInnerVisual" BorderBrush="{StaticResource ControlInnerBorder_Focused}" 
								BorderThickness="1" CornerRadius="{TemplateBinding InnerCornerRadius}"/>
                            </Border>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
	
    <Style x:Key="RadRadioButtonStyle1" TargetType="Controls:RadRadioButton">
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="{StaticResource ControlOuterBorder_Normal}"/>
        <Setter Property="Background" Value="{StaticResource ControlBackground_Normal}"/>
        <Setter Property="Foreground" Value="{StaticResource ControlForeground_Normal}"/>
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="3"/>
        <Setter Property="CornerRadius" Value="{StaticResource ControlOuterBorder_CornerRadius}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="Controls:RadRadioButton">
                    <Grid>
                        <VisualStateManager.VisualStateGroups>
                            <VisualStateGroup x:Name="CommonStates">
                                <VisualState x:Name="Normal"/>
                                <VisualState x:Name="Disabled">
                                    <Storyboard>
                                        <DoubleAnimation Duration="0" To="0.5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Content"/>
                                    </Storyboard>
                                </VisualState>
                            </VisualStateGroup>
                        </VisualStateManager.VisualStateGroups>
                        <Telerik_Windows_Controls_Chromes:ButtonChrome 
							BorderBrush="{Binding BorderBrush, RelativeSource={RelativeSource TemplatedParent}}" 
							BorderThickness="{Binding BorderThickness, RelativeSource={RelativeSource TemplatedParent}}" 
							Background="{Binding Background, RelativeSource={RelativeSource TemplatedParent}}" 
							CornerRadius="{TemplateBinding CornerRadius}" 
							RenderNormal="{TemplateBinding IsBackgroundVisible}" 
							RenderMouseOver="{TemplateBinding IsMouseOver}" 
							RenderPressed="{TemplateBinding IsPressed}" 
							RenderFocused="{TemplateBinding IsFocused}" 
							RenderChecked="{TemplateBinding IsChecked}" 
							RenderEnabled="{TemplateBinding IsEnabled}" 
							Controls:StyleManager.Theme="{StaticResource Theme}" 
							Style="{StaticResource ButtonChromeStyle1}"/>
							
                        <ContentPresenter 
							x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" 
							Content="{TemplateBinding Content}" 
							HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" 
							Margin="{TemplateBinding Padding}" 
							VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>
